<?php

include_once("SweetException.php");

class SweetTestClass
{	
	/**
	 * Tests if $test is False
	 *
	 * @param boolean $test
	 */
	public function assertFalse($test)
	{
		if(!is_bool($test))
			throw new SweetException("Must resolve all Asserts to a boolean.");
		
		if($test)
			throw new SweetException("resolved as True.");
	}
	
	/**
	 * Tests if $test is True
	 *
	 * @param boolean $test
	 */
	public function assertTrue($test)
	{
		if(!is_bool($test))
			throw new SweetException("Must resolve all Asserts to a boolean.");	
		
		if(!$test)
			throw new SweetException("resolved as False.");
	}
	
}

?>